﻿using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using CozeDto.Base;

namespace CozeDto.AdminDtos
{
    /// <summary>
    /// 管理员信息
    /// </summary>
    public class RepAdminPageInfo : BaseModelInfo
    {
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 账号
        /// </summary> 
        public string? Account { get; set; }

        /// <summary>
        /// 昵称
        /// </summary> 
        public string? NickName { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 微信账户，用于发送企业消息推送通知
        /// </summary>
        public string? WeChartAccount { get; set; }

        /// <summary>
        /// 所属角色
        /// </summary>
        //public List<string>? Roles{ get; set; }

        /// <summary>
        /// 上次登录时间
        /// </summary>
        public DateTime? LastLoginTime { get; set; }

        /// <summary>
        /// 上次登录IP地址 
        /// </summar
        public string? LastLoginIp { get; set; }

        /// <summary>
        /// 登录总次数
        /// </summary>
        public int? LoginTotalCount { get; set; }

        /// <summary>
        /// 状态
        /// </summary> 
        public bool Status { get; set; }

        /// <summary>
        /// 描述
        /// </summary> 
        public string? Description { get; set; }
    }
}
